import { Column, Entity, PrimaryColumn } from 'typeorm';
@Entity({ name: 'user' })
export class UsersEntity {
  @PrimaryColumn({length: 100})
  uuid: string;
  @PrimaryColumn({length: 100})
  username: string|null;
  @PrimaryColumn({length: 100})
  email: string | null;
  @Column("varchar")
  password: string;
  @Column("varchar")
  nickname: string;
  @Column("varchar")
  avatar: string | null;
  @Column("varchar")
  gmtCreate: string;
  @Column("varchar")
  gmtModified: string;
}